
<?php if ($modules) { ?>
 <div  id="maintop"  >
  <?php
        foreach ($modules as $module) {
          echo $module;
      }
   ?>
 </div>
<?php } ?>